import $http from "./requst";
// 登陆
export const login = (data) =>
  $http({ url: "/sup/Login/login", method: "post", data });

// 小程序企业账号列表
export const CrewEnterprise = (data) =>
  $http({ url: "/sup/Crew_enterprise", method: "post", data });

// 小程序企业账号状态更改
export const CrewEnterpriseCheck = (data) =>
  $http({ url: "/sup/Crew_enterprise/checkStatus", method: "post", data });

// 企业账号列表
export const Enterprise = (data) =>
  $http({ url: "/sup/Enterprise", method: "post", data });

// 企业账号新增
export function EnterpriseAdd(data) {
  return $http({
    url: `/sup/Enterprise/add`,
    method: "POST",
    data,
  });
}
//企业编辑回显
export function EnterpriseShow(data) {
  return $http({
    url: `/sup/Enterprise/editShow`,
    method: "POST",
    data,
  });
}
//企业编辑
export function EnterpriseEdit(data) {
  return $http({
    url: `/sup/Enterprise/editSave`,
    method: "POST",
    data,
  });
}
//企业详情
export function EnterpriseDetail(data) {
  return $http({
    url: `/sup/Enterprise/details`,
    method: "POST",
    data,
  });
}
//企业员工账号
export function EnterpriseUserAccount(data) {
  return $http({
    url: `/sup/Enterprise/details1`,
    method: "POST",
    data,
  });
}
//企业员工账号
export function checkStaffStatus(data) {
  return $http({
    url: `/sup/Enterprise/checkStaffStatus`,
    method: "POST",
    data,
  });
}
//企业充值记录
export function EnterprisePayRecord(data) {
  return $http({
    url: `/sup/Enterprise/details2`,
    method: "POST",
    data,
  });
}
//企业鲸币记录
export function EnterpriseCoinRecord(data) {
  return $http({
    url: `/sup/Enterprise/details3`,
    method: "POST",
    data,
  });
}

// 企业账号恢复、禁用
export const EnterpriseCheckStatus = (data) =>
  $http({ url: "/sup/Enterprise/checkStatus", method: "post", data });

// 其他配置设置
export const otherSet = (data) =>
  $http({ url: "/sup/Otherset/set", method: "post", data });

// 其他配置设置回显
export const otherSetShow = (data) =>
  $http({ url: "/sup/Otherset", method: "post", data });

// 推广设置
export const Shareset = (data) =>
  $http({ url: "/sup/Shareset/set", method: "post", data });

// 推广设置回显
export const SharesetShow = (data) =>
  $http({ url: "/sup/Shareset", method: "post", data });

// 岗位设置
export const Stationset = (data) =>
  $http({ url: "/sup/Stationset/set", method: "post", data });

// 岗位设置回显
export const StationsetShow = (data) =>
  $http({ url: "/sup/Stationset", method: "post", data });

// 续费设置
export const Renewset = (data) =>
  $http({ url: "/sup/Renewset/set", method: "post", data });

// 续费设置回显
export const RenewsetShow = (data) =>
  $http({ url: "/sup/Renewset", method: "post", data });

// 充值设置
export const Rechargeset = (data) =>
  $http({ url: "/sup/Rechargeset/set", method: "post", data });

// 充值设置回显
export const RechargesetShow = (data) =>
  $http({ url: "/sup/Rechargeset", method: "post", data });

// 数据字典设置
export const Datadictionary = (data) =>
  $http({ url: "/sup/Datadictionary/set", method: "post", data });

// 数据字典设置回显
export const DatadictionaryShow = (data) =>
  $http({ url: "/sup/Datadictionary/index", method: "post", data });

// 轮播图列表
export function Banner(data) {
  return $http({
    url: `/sup/Banner`,
    method: "POST",
    data,
  });
}
// 轮播图新增
export function addBanner(data) {
  return $http({
    url: `/sup/Banner/add`,
    method: "POST",
    data,
  });
}
// 轮播图删除
export function deleteBanner(data) {
  return $http({
    url: `/sup/Banner/delete`,
    method: "POST",
    data,
  });
}
// 轮播图编辑
export function editBanner(data) {
  return $http({
    url: `/sup/Banner/edit`,
    method: "POST",
    data,
  });
}
// 权益列表
export function Rights(data) {
  return $http({
    url: `/sup/Rights`,
    method: "POST",
    data,
  });
}
// 权益新增
export function addRights(data) {
  return $http({
    url: `/sup/Rights/add`,
    method: "POST",
    data,
  });
}
// 权益删除
export function deleteRights(data) {
  return $http({
    url: `/sup/Rights/delete`,
    method: "POST",
    data,
  });
}
// 权益编辑
export function editRights(data) {
  return $http({
    url: `/sup/Rights/edit`,
    method: "POST",
    data,
  });
}
//公告列表
export function Art(data) {
  return $http({
    url: `/sup/Art`,
    method: "POST",
    data,
  });
}
//公告新增
export function addArt(data) {
  return $http({
    url: `/sup/Art/add`,
    method: "POST",
    data,
  });
}
//公告编辑
export function editArt(data) {
  return $http({
    url: `/sup/Art/edit`,
    method: "POST",
    data,
  });
}
//公告编辑回显
export function showArt(data) {
  return $http({
    url: `/sup/Art/show`,
    method: "POST",
    data,
  });
}
//公告删除
export function deleteArt(data) {
  return $http({
    url: `/sup/Art/delete`,
    method: "POST",
    data,
  });
}
//公告状态更新
export function checkStatusArt(data) {
  return $http({
    url: `/sup/Art/checkStatus`,
    method: "POST",
    data,
  });
}
//意见反馈
export function feedback(data) {
  return $http({
    url: `/sup/Feedbackandreport/feedback`,
    method: "POST",
    data,
  });
}
//意见反馈状态处理
export function feedbackStatus(data) {
  return $http({
    url: `/sup/Feedbackandreport/feedbackStatus`,
    method: "POST",
    data,
  });
}
//举报列表
export function report(data) {
  return $http({
    url: `/sup/Feedbackandreport/report`,
    method: "POST",
    data,
  });
}
//处理举报
export function reportStatus(data) {
  return $http({
    url: `/sup/Feedbackandreport/reportStatus`,
    method: "POST",
    data,
  });
}
//岗位发布申请列表
export function position(data) {
  return $http({
    url: `/sup/Releasecenter/position`,
    method: "POST",
    data,
  });
}
//办证列表
export function Accreditation(data) {
  return $http({
    url: `/sup/Accreditation`,
    method: "POST",
    data,
  });
}
//办证新增
export function AccreditationAdd(data) {
  return $http({
    url: `/sup/Accreditation/add`,
    method: "POST",
    data,
  });
}
//办证状态更改
export function AccreditationCheckStatus(data) {
  return $http({
    url: `/sup/Accreditation/checkStatus`,
    method: "POST",
    data,
  });
}
//办证编辑回显
export function AccreditationShow(data) {
  return $http({
    url: `/sup/Accreditation/editShow`,
    method: "POST",
    data,
  });
}

//办证编辑
export function AccreditationEdit(data) {
  return $http({
    url: `/sup/Accreditation/editSave`,
    method: "POST",
    data,
  });
}
//培训账号列表
export function Training(data) {
  return $http({
    url: `/sup/Training`,
    method: "POST",
    data,
  });
}
//培训账号新增
export function TrainingAdd(data) {
  return $http({
    url: `/sup/Training/add`,
    method: "POST",
    data,
  });
}
//培训账号编辑
export function TrainingEdit(data) {
  return $http({
    url: `/sup/Training/editSave`,
    method: "POST",
    data,
  });
}
//培训账号编辑回显
export function TrainingShow(data) {
  return $http({
    url: `/sup/Training/editShow`,
    method: "POST",
    data,
  });
}
//培训账号详情
export function TrainingDetail(data) {
  return $http({
    url: `/sup/Training/details`,
    method: "POST",
    data,
  });
}
//培训账号充值记录
export function TrainingPayRecord(data) {
  return $http({
    url: `/sup/Training/details1`,
    method: "POST",
    data,
  });
}
//培训账号鲸币变更记录
export function TrainingCoinRecord(data) {
  return $http({
    url: `/sup/Training/details2`,
    method: "POST",
    data,
  });
}
//培训账号状态更改
export function TrainingCheckStatus(data) {
  return $http({
    url: `/sup/Training/checkStatus`,
    method: "POST",
    data,
  });
}
//学校列表
export function School(data) {
  return $http({
    url: `/sup/School`,
    method: "POST",
    data,
  });
}
//学校新增
export function SchoolAdd(data) {
  return $http({
    url: `/sup/School/add`,
    method: "POST",
    data,
  });
}
//学校编辑
export function SchoolEdit(data) {
  return $http({
    url: `/sup/School/edit`,
    method: "POST",
    data,
  });
}
//学校详情/回显
export function SchoolDetail(data) {
  return $http({
    url: `/sup/School/details`,
    method: "POST",
    data,
  });
}
//学校培训课程
export function getTrainingContent(data) {
  return $http({
    url: `/sup/School/getTrainingContent`,
    method: "POST",
    data,
  });
}

//学校状态切换
export function SchoolCheckStatus(data) {
  return $http({
    url: `/sup/School/checkStatus`,
    method: "POST",
    data,
  });
}

//学校删除
export function SchoolDel(data) {
  return $http({
    url: `/sup/School/del`,
    method: "POST",
    data,
  });
}

//船东账号
export function Shipowner(data) {
  return $http({
    url: `/sup/Shipowner`,
    method: "POST",
    data,
  });
}
//新增船东账号
export function ShipownerAdd(data) {
  return $http({
    url: `/sup/Shipowner/add`,
    method: "POST",
    data,
  });
}

//编辑船东账号
export function ShipownerEdit(data) {
  return $http({
    url: `/sup/Shipowner/editSave`,
    method: "POST",
    data,
  });
}
//船东账号回显
export function ShipownerShow(data) {
  return $http({
    url: `/sup/Shipowner/editShow`,
    method: "POST",
    data,
  });
}

//船东账号详情
export function ShipownerDetail(data) {
  return $http({
    url: `/sup/Shipowner/details`,
    method: "POST",
    data,
  });
}
//船东签约船员记录
export function ShipownerBoots(data) {
  return $http({
    url: `/sup/Shipowner/details1`,
    method: "POST",
    data,
  });
}
//船东充值记录
export function ShipownerPayRecord(data) {
  return $http({
    url: `/sup/Shipowner/details2`,
    method: "POST",
    data,
  });
}
//船东鲸币记录
export function ShipownerCoinRecord(data) {
  return $http({
    url: `/sup/Shipowner/details3`,
    method: "POST",
    data,
  });
}

//船东账号禁用恢复
export function ShipownerCheckStatus(data) {
  return $http({
    url: `/sup/Shipowner/checkStatus`,
    method: "POST",
    data,
  });
}
//船东岗位代招列表
export function ShipownerGwdz(data) {
  return $http({
    url: `/sup/Shipowner/gwdz`,
    method: "POST",
    data,
  });
}
//船东岗位代招状态更改
export function checkDzStatus(data) {
  return $http({
    url: `/sup/Shipowner/checkDzStatus`,
    method: "POST",
    data,
  });
}

//船东岗位代招详情
export function gwdzDetails(data) {
  return $http({
    url: `/sup/Shipowner/gwdzDetails`,
    method: "POST",
    data,
  });
}

//全企业人才库
export function talentPool(data) {
  return $http({
    url: `/sup/Crewhall/talentPool`,
    method: "POST",
    data,
  });
}
// 获取数据字典
export function getContent(data) {
  return $http({
    url: `/common/Datadictionary/getContent`,
    method: "POST",
    data,
  });
}
//沟通记录
export function connectRecord(data) {
  return $http({
    url: `/sup/Crewhall/connectRecord`,
    method: "POST",
    data,
  });
}
//简历详情
export function CrewhallDetail(data) {
  return $http({
    url: `/sup/Crewhall/details`,
    method: "POST",
    data,
  });
}

//公海池
export function highSeas(data) {
  return $http({
    url: `/sup/Crewhall/highSeas`,
    method: "POST",
    data,
  });
}
//发布中心-岗位详情
export function PositionDetail(data) {
  return $http({
    url: `/sup/Releasecenter/positionDetails`,
    method: "POST",
    data,
  });
}
//发布中心-岗位删除
export function positionDel(data) {
  return $http({
    url: `/sup/Releasecenter/positionDel`,
    method: "POST",
    data,
  });
}

//发布中心-培训列表
export function trainingList(data) {
  return $http({
    url: `/sup/Releasecenter/training`,
    method: "POST",
    data,
  });
}
//发布中心-培训详情
export function trainingDetails(data) {
  return $http({
    url: `/sup/Releasecenter/trainingDetails`,
    method: "POST",
    data,
  });
}
//发布中心-培训删除
export function trainingDel(data) {
  return $http({
    url: `/sup/Releasecenter/trainingDel`,
    method: "POST",
    data,
  });
}

//积分商品列表
export function Integralgoods(data) {
  return $http({
    url: `/sup/Integralgoods`,
    method: "POST",
    data,
  });
}

//兑奖
export function exchangeStatus(data) {
  return $http({
    url: `/sup/Integralgoods/exchangeStatus`,
    method: "POST",
    data,
  });
}

//兑奖记录
export function exchangeRecord(data) {
  return $http({
    url: `/sup/Integralgoods/exchangeRecord`,
    method: "POST",
    data,
  });
}

//更改商品状态
export function goodsCheckStatus(data) {
  return $http({
    url: `/sup/Integralgoods/checkStatus`,
    method: "POST",
    data,
  });
}
//商品删除
export function goodsDel(data) {
  return $http({
    url: `/sup/Integralgoods/del`,
    method: "POST",
    data,
  });
}

//商品编辑
export function goodsEdit(data) {
  return $http({
    url: `/sup/Integralgoods/editSave`,
    method: "POST",
    data,
  });
}
//商品编辑回显
export function goodsShow(data) {
  return $http({
    url: `/sup/Integralgoods/editShow`,
    method: "POST",
    data,
  });
}
//商品详情
export function goodsDetail(data) {
  return $http({
    url: `/sup/Integralgoods/details`,
    method: "POST",
    data,
  });
}
//商品新增
export function goodsAdd(data) {
  return $http({
    url: `/sup/Integralgoods/add`,
    method: "POST",
    data,
  });
}
//修改密码
export function editPwd(data) {
  return $http({
    url: `/shipowner/Account/editPwd`,
    method: "POST",
    data,
  });
}
//平台用户
export function getUserList(data) {
  return $http({
    url: `/sup/Index/user`,
    method: "POST",
    data,
  });
}
//员工列表
export function StaffList(data) {
  return $http({
    url: `/sup/Staff`,
    method: "POST",
    data,
  });
}

//员工列表——切换状态
export function checkStaff(data) {
  return $http({
    url: `/sup/Staff/checkStaffStatus`,
    method: "POST",
    data,
  });
}
//续费记录
export function RenewRecord(data) {
  return $http({
    url: `/sup/Renew`,
    method: "POST",
    data,
  });
}

//续费记录
export function Rechargerecord(data) {
  return $http({
    url: `/sup/Index/Rechargerecord`,
    method: "POST",
    data,
  });
}
//充值记录统计
export function RechargeRecordStatistics(data) {
  return $http({
    url: `/sup/Index/RechargeRecordStatistics`,
    method: "POST",
    data,
  });
}
//收藏船员
export function CrewhallCollect(data) {
  return $http({
    url: `/sup/Crewhall/collect`,
    method: "POST",
    data,
  });
}
//收藏船员记录
export function collectList(data) {
  return $http({
    url: `/sup/Crewhall/collectList`,
    method: "POST",
    data,
  });
}
//取消收藏简历
export function collectCancel(data) {
  return $http({
    url: `/sup/Crewhall/collectCancel`,
    method: "POST",
    data,
  });
}
//签约记录
export function signRecord(data) {
  return $http({
    url: `/sup/Crewhall/signRecord`,
    method: "POST",
    data,
  });
}
//签约记录详情
export function signRecordDetails(data) {
  return $http({
    url: `/sup/Crewhall/signRecordDetails`,
    method: "POST",
    data,
  });
}

//签约记录状态更改
export function czStatusCheck(data) {
  return $http({
    url: `/sup/Crewhall/czStatusCheck`,
    method: "POST",
    data,
  });
}
//数据统计
export function supTotal(data) {
  return $http({
    url: `/sup`,
    method: "POST",
    data,
  });
}
//消息通知记录
export function supNotice(data) {
  return $http({
    url: `/sup/Index/supNotice`,
    method: "POST",
    data,
  });
}

//消息通知已读操作
export function supNoticeCheckStatus(data) {
  return $http({
    url: `/sup/Index/supNoticeCheckStatus`,
    method: "POST",
    data,
  });
}
//消息通知删除操作
export function supNoticeeDel(data) {
  return $http({
    url: `/sup/Index/supNoticeeDel`,
    method: "POST",
    data,
  });
}
//面试记录
export function interviewRecord(data) {
  return $http({
    url: `/sup/Interviewrecord`,
    method: "POST",
    data,
  });
}
//面试记录
export function CrewmanageDetail(data) {
  return $http({
    url: `/sup/Interviewrecord/details`,
    method: "POST",
    data,
  });
}
//选择企业
export function checkEnterprise(data) {
  return $http({
    url: `/sup/Index/checkEnterprise`,
    method: "POST",
    data,
  });
}
//选择学校
export function checkSchool(data) {
  return $http({
    url: `/sup/Training/checkSchool`,
    method: "POST",
    data,
  });
}
//选择船东
export function checkShipowner(data) {
  return $http({
    url: `/sup/Index/checkShipowner`,
    method: "POST",
    data,
  });
}
//推广员列表
export function tgyList(data) {
  return $http({
    url: `/sup/Commission/tgy`,
    method: "POST",
    data,
  });
}
//推广员审核
export function tgyCheckStatus(data) {
  return $http({
    url: `/sup/Commission/checkStatus`,
    method: "POST",
    data,
  });
}
//推广员详情
export function tgyDetails(data) {
  return $http({
    url: `/sup/Commission/tgyDetails`,
    method: "POST",
    data,
  });
}

//推广详情记录
export function tgyDetails1(data) {
  return $http({
    url: `/sup/Commission/tgyDetails1`,
    method: "POST",
    data,
  });
}
//推广详情提现记录
export function tgyDetails2(data) {
  return $http({
    url: `/sup/Commission/tgyDetails2`,
    method: "POST",
    data,
  });
}

//推广员详情-提现记录查看对应推广订单
export function tgyDetails3(data) {
  return $http({
    url: `/sup/Commission/tgyDetails3`,
    method: "POST",
    data,
  });
}

//推广员详情-提现记录审核
export function txsh(data) {
  return $http({
    url: `/sup/Commission/txsh`,
    method: "POST",
    data,
  });
}

//提现记录
export function txjl(data) {
  return $http({
    url: `/sup/Commission/txjl`,
    method: "POST",
    data,
  });
}
// 岗位新增
export function PositionAdd(data) {
  return $http({
    url: `/sup/Releasecenter/positionAdd`,
    method: "POST",
    data,
  });
}
